import request from '@/utils/request'

export default {
  find(id){
    return request({
      url:`/need/needallocation/getOrderGoodsList/${id}`,
      method: 'get'
    })
  },
  add(r){
    return request({
      url:`/need/needallocation/addOrder`,
      method:'post',
      data:r
    })
  }
}
